import React from 'react'
import styles from '../css/chat.module.css'
import { Avatar } from 'antd-mobile'
function Rigth({msg}) {
  return (
    <div className={styles.right}>
      <Avatar style={{width:50,height:50,borderRadius:'50%'}} src='https://images.unsplash.com/photo-1548532928-b34e3be62fc6?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&ixid=eyJhcHBfaWQiOjE3Nzg0fQ' />
      <div className={styles.msgs}>
          {msg}
      </div>
    </div>
  )
}

export default Rigth
